/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.rafkind.crawl.battle.command;

import com.rafkind.crawl.battle.BattleCommand;
import com.rafkind.crawl.battle.BattleListener;
import com.rafkind.crawl.battle.BattleResult;
import com.rafkind.crawl.data.Creature;
import java.util.List;

/**
 *
 * @author drafkind
 */
public class DefendCommand extends BattleCommand {

  public DefendCommand(Creature source) {
    super(source);
  }

  @Override
  public BattleResult execute(List<BattleListener> listeners, Creature target) {
    System.out.println(source + " defends!");
    return BattleResult.CONTINUE;
  }
}
